<!DOCTYPE html>
<html>
<head>
	<title><%=title%></title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
	<link rel="stylesheet" type="text/css" href="../../lib/bootstrap/dist/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="../../css/common.css">
	<link rel="stylesheet" type="text/css" href="../../css/assist/style.css">
</head>
<body ng-app="webapp"  ng-controller="AssistController">
<input type='hidden' id="assistName" value="<%=assistName%>"/>
<div ng-include="'../views/header.html'"></div>
<div>
	<div class='row'>
		<p class='col-xs-12 addButton' ng-click="addAssist()"><i class="glyphicon glyphicon-plus addIcon"></i>新增内容</p>
	</div>
	<!-- Table -->
	  <table class="comTable">
	    <thead>
	    	<tr><th align="center">序号</th><th>内容</th><th align="center">操作</th></tr>
	    </thead>
	    <tbody>
	    	<tr ng-repeat="list in assistData">
	    		<td width="15%" align="center">{{$index+1}}</td>
	    		<td>{{list.CONTENT}}</td>
	    		<td width="20%" align="center">
	    			<edit-box ng-model="list" type="0"></edit-box>
					<remove-dir ng-model="list"></remove-dir>
	    		</td>
	    	</tr>
	    </tbody>
	  </table>
	

	<!-- Modal -->
	<div class="modal fade bs-example-modal-sm" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	  <div class="modal-dialog modal-sm-samll" role="document">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="myModalLabel">&nbsp;</h4>
	      </div>
	      <div class="modal-body">
	        您确定要删除本条房产类型吗？
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	        <button type="button" class="btn btn-primary" id="sureDel">确定</button>
	      </div>
	    </div>
	  </div>
	</div>

	<!-- Modal 编辑-->
	<div class="modal fade bs-example-modal-sm" id="editModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	  <div class="modal-dialog modal-sm-samll" role="document">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="myModalLabel">&nbsp;</h4>
	      </div>
	      <div class="modal-body">
	        <textarea class="form-control" id="editContent" ng-model="editContent" row="3"></textarea>
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	        <button type="button" class="btn btn-primary" id="sureEdit">确定</button>
	      </div>
	    </div>
	  </div>
	</div>

</div>
<script type="text/javascript" src="../../lib/angular/angular.js"></script>
<script type="text/javascript" src="../../lib/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../webapp.js"></script>
<script type="text/javascript" src="../../services/handleRequest.js"></script>
<script type="text/javascript" src="../../services/assist.client.service.js"></script>
<script type="text/javascript" src="../../controllers/assist.client.controller.js"></script>
</body>
</html>